import React from 'react'
import { View, StyleSheet, Text } from 'react-native'
import { ScaleS, ScaleT } from 'src/utils/ScreenUtil'
import PropTypes from 'prop-types'
import CustomImage from '../image/CustomImage'
import CustomButton from '../button/CustomButton'

export default function ShareBtn(props) {
  const { style, ...rest } = props
  return (
    <CustomButton
      style={[styles.naviBtnBG, style]}
      {...rest}
    >
      <CustomImage source={require('src/imgC/post/retransmission.png')} />
    </CustomButton>
  )
}
ShareBtn.propTypes = {
  style: PropTypes.object
}

const styles = StyleSheet.create({
  naviBtnBG: {
    marginHorizontal: ScaleS(10),
    // width: ScaleS(44),
    // height: ScaleS(28),
    // backgroundColor: '#F5F5F5',
    // borderRadius: ScaleS(14),
    justifyContent: 'center',
    alignItems: 'center'
  }
})
